package com.park.service;

import java.util.List;

import com.park.model.Permissions;
import com.park.model.UserList;
import com.park.model.UserlistPermissions;

public interface UserListService {

	UserList getByUserName(String userListname);

	int insert(UserList userList);

	int bindingRoles(List<UserlistPermissions> userlistPermissions);

	int updateRoles(UserlistPermissions userlistPermissions);

	int deleteRoles(List<UserlistPermissions> userlistPermissions);

	List<Long> getByUserId(Long id);

	List<UserList> getUserByName(String userName);

	List<UserList> getUser(List<Long> ids);

	UserList recursiveTree(Long long1);

	int deleteByUserId(Long userlistId);

	List<Permissions> getRoleByUserId(int userId);

	int updateUser(UserList userList);

	int deleteById(List<Long> ids);

}
